package 集合.day3.demo4;

import java.util.LinkedHashMap;
import java.util.Set;

public class Test2 {
    public static void main(String[] args) {
        LinkedHashMap m=new LinkedHashMap();
        m.put("one","111");
        m.put("two","222");
        m.put("three","333");
        m.put("four","444");

        Set<String>keys= m.keySet();
        for(String k:keys){
            System.out.println(k+"="+m.get(k));
        }

    }
}
